<!-- 下下级红娘 -->
<template>
	<view>
		<view class="list2" v-for="(item,index) in list" :key="index">
			<view class="list2-left">
				<image :src="item.avatar" mode="aspectFill"></image>
			</view>
			<view class="list2-right">
				<view class="list2-right-list">{{item.nickname}}<text>{{item.users}}人</text></view>
				<view class="list2-right-text">{{item.create_time}}<text>推广用户</text></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{
						avatar:'../../static/tupian.png',
						nickname:'芒果呀',
						users:10,
						create_time:'2021-12-21 10:18'
					},
					{
						avatar:'../../static/tupian.png',
						nickname:'芒果呀',
						users:10,
						create_time:'2021-12-21 10:18'
					}
				],
				isPullDown:false,
				page:1
			};
		},
		onLoad() {
			
		},
		methods:{
			
		},
		//监听页面刷到底
		onReachBottom() {
			// 触底
			console.log('触底')
		},
	}
</script>
<style>
	page{
		background-color: #F8F8F8;
		padding: 20rpx;
		box-sizing: border-box;
	}
</style>
<style scoped lang="less">
.list2{
	width: 100%;
	padding: 20rpx 20rpx;
	box-sizing: border-box;
	display: flex;
	flex-flow:row wrap;
	justify-content: space-between;
	background-color: #fff;
	margin-bottom: 20rpx;
	border-radius: 20rpx;
	box-shadow: 0px 0px 20rpx 0px rgba(0, 0, 0, 0.12);
}
.list2-left{
	width: 70rpx;
	// height: 100%;
	border-radius: 6rpx;
	// display: flex;
	// align-items: center;
	image{
		width: 70rpx;
		height: 70rpx;
		border-radius: 6rpx;
	}
}
.list2-right{
	width: 556rpx;
}
.list2-right-list{
	width: 100%;
	height: 35rpx;
	line-height: 35rpx;
	font-size: 26rpx;
	font-weight: bold;
	text{
		float: right;
	}
}
.list2-right-text{
	width: 100%;
	height: 33rpx;
	line-height: 33rpx;
	font-size: 24rpx;
	color: #b4b4b4;
	text{
		float: right;
	}
}
</style>
